<?php
/**
 * +----------------------------------------------------------------------
 * | [ DO WHAT YOU LOVE AND FUCK THE REST ]
 * +----------------------------------------------------------------------
 * | EMAIL: < 931274989@qq.com >
 * +----------------------------------------------------------------------
 * | WECHAT: xzc016
 * +----------------------------------------------------------------------
 * | 用户权限组关联模型
 * +----------------------------------------------------------------------
 */
namespace app\admin\model;

class AuthGroupAccess extends Base
{
  /**
   * 一对一关联用户权限组关联模型
   */
  public function adminGroup()
  {
    return $this->belongsTo('authGroup','group_id','id');
  }
}